package base;

/**
 * Created by root on 3/31/17.
 */
public class Main {

    public static void main(String[] args) {
        Employeee employee = new Employeee("y");
        System.out.println(employee.getName());
        employee.setTest("a");
        System.out.println(employee.getName());
        employee.setTest("b");
        System.out.println(employee.getName());

        Manager m = new Manager("test");
        m = (Manager) employee;
        m.defaultValut="ss";

    }
}
